Skip to content

[RUNTIME][Memory] Implement support for non-zero offset within a storage object in AllocNDArr…#16415

Merged
tqchen merged 1 commit intoapache:mainfrom
arangasa:OffsetInAllocTensorForHexagon
Jan 19, 2024
Merged

[RUNTIME][Memory] Implement support for non-zero offset within a storage object in AllocNDArr…#16415
tqchen merged 1 commit intoapache:mainfrom
arangasa:OffsetInAllocTensorForHexagon

Conversation

@arangasa
Copy link
Copy Markdown
Contributor

…ay for Hexagon

This is needed for supporting a new static memory planner which allocates a single storage object, and uses non-overlapping offset ranges within the storage object to allocate tensors.

Allocating a storage object is an expensive operation involving OS, whereas tensor allocation (using AllocNDArray) is much less expensive.

@arangasa
Copy link
Copy Markdown
Contributor Author

@tqchen tqchen merged commit 28c68e8 into apache:main Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants